package javacore2ch5;


class Manager extends Employee {
	private double bonus;
	public Manager(String n, String t, double s, int year, int month, int day) {
		super(n, t, s, year, month, day);
		bonus = 0;
	}
	public double getSalary() {
		double baseSalary = super.getSalary();
		return baseSalary + bonus;
	}
	public void setBonus(double b) {
		bonus = b;
	}

}